package com.action;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.base.BaseAction;
import com.entity.VoteType;
import com.service.VoteTypeService;

public class VoteTypeAction extends BaseAction {

	List<VoteType> listvt;
	@Autowired
	VoteTypeService vts;
	Integer vtid;
	public String getAll(){
		listvt  = vts.getAll();
		return SUCCESS;
	}
	
	public List<VoteType> getListvt() {
		return listvt;
	}

	public void setListvt(List<VoteType> listvt) {
		this.listvt = listvt;
	}
	
	
}
